package com.itheima.service;

import com.itheima.domain.PageResult;
import com.itheima.domain.pojo.Emp;
import com.itheima.domain.pojo.EmpQueryParam;
import com.itheima.domain.pojo.LoginInfo;

import java.time.LocalDate;
import java.util.List;

public interface EmpService {
    PageResult page(EmpQueryParam empQueryParam);

    void save(Emp emp);


    List<Emp> niager();

    /**
     * 批量删除员工
     */
    void deleteByIds(List<Integer> ids);

    void update(Emp emp);

    Emp getInfo(Integer id);

    LoginInfo login(Emp emp);
}